/**
 * 
 */
package com.slim.dao;

import org.appfuse.dao.GenericDao;
import org.appfuse.model.NewProjectDetail;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author happy home
 *
 */
public interface NewProjectDetailDao extends GenericDao<NewProjectDetail, Long>
 {
	@Transactional
	  public abstract NewProjectDetail loadNewProjectDetailByUserId(Long userId)
	    throws UsernameNotFoundException;

	  @Transactional(propagation=Propagation.NOT_SUPPORTED)
	  public abstract Long getNewProjectDetailId(Long id);
}
